package net.microfigure.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 家庭表
 * </p>
 *
 * @author 林景锋
 * @since 2018-06-22
 */
public class Family extends Model<Family> {

    private static final long serialVersionUID = 1L;

    
	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    
    /**
     * 家庭编号
     */
	@TableField("family_no")
	private String familyNo;
    /**
     * 户主名称
     */
	private String housemaster;
    /**
     * 身份证号
     */
	@TableField("card_no")
	private String cardNo;
    /**
     * 所在村编号
     */
	@TableField("area_no")
	private String areaNo;
    /**
     * 建档时间
     */
	@TableField("create_date")
	private Date createDate;



	public String getFamilyNo() {
		return familyNo;
	}

	public void setFamilyNo(String familyNo) {
		this.familyNo = familyNo;
	}

	public String getHousemaster() {
		return housemaster;
	}

	public void setHousemaster(String housemaster) {
		this.housemaster = housemaster;
	}

	public String getCardNo() {
		return cardNo;
	}

	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}

	public String getAreaNo() {
		return areaNo;
	}

	public void setAreaNo(String areaNo) {
		this.areaNo = areaNo;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}



	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
